package com.lanou3g.springcloud.calc.consumer.web;

import com.lanou3g.springcloud.calc.consumer.bean.CalcResult;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	@RequestMapping("/")
	public String index(Model model) {
		model.addAttribute("obj", new CalcResult());
		return "index";
	}
}
